﻿using System;

namespace Skynet.CommonLibrary.Extension.XML
{
    [AttributeUsage(AttributeTargets.Property)]
    public class XMLTypeAttribute : Attribute
    {
        /// <summary>
        /// 是否在XML 用Attribute 生成而不是Element
        /// </summary>
        public bool IsAttribute{ get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int Index { get; set; }

        /// <summary>
        /// 日期转换
        /// </summary>
        public string DateFormat { get; set; }
    }
}
